Component({
    externalClasses: [ "wux-class" ],
    properties: {
        type: {
            type: String,
            value: ""
        },
        size: {
            type: [ String, Number ],
            value: 32,
            observer: "updated"
        },
        color: {
            type: String,
            value: ""
        },
        hidden: {
            type: Boolean,
            value: !1
        }
    },
    data: {
        fontSize: ""
    },
    methods: {
        updated: function(t) {
            var e = 0 < arguments.length && void 0 !== t ? t : this.data.size, t = e;
            "number" == typeof e ? t = "".concat(e, "px") : "string" == typeof e && (isNaN(Number(e)) || (t = "".concat(e, "px"))), 
            this.data.fontSize !== t && this.setData({
                fontSize: t
            });
        }
    },
    attached: function() {
        this.updated();
    }
});